import request from '@/utils/request'

export function getDetail(params){
	return request({
		url:'/course/getDetail',
        params
	})
}

export function checkAuth(params){
	return request({
		url:'/course/checkAuth',
        params
	})
}


export function downloadAttachment( params ){
	return request({
		url:'/course/downloadAttachment',
		params,
		responseType: 'blob',
	})
}